package learningThread.syn.synchronizedMethodLockObj.syschronizeObj;


import learningThread.syn.synchronizedMethodLockObj.part1.OperationObj1;

public class Thread4 extends Thread {

    private OperationObj operationObj;

    public Thread4(OperationObj obj){
        this.operationObj = obj;
    }

    @Override
    public void run() {

        operationObj.methodB();
    }
}
